import request from '../utils/request';
import { AxiosPromise } from 'axios'

// 获取商家信息

function getEnterpriseInfo(): AxiosPromise {
    return request.get('/shop/seller')
}

// 获取商品列表
function getGoodsList(): AxiosPromise {
    return request.get('/goods/goods_list')
}

// 获取商家
 function getEnterpirseInfo(): AxiosPromise {
    return request.get('/shop/seller')
}

// 获取评价
function getEnterpirseEvaluate(): AxiosPromise {
    return request.get('/shop/ratings')
}

export default {
    getEnterpriseInfo,
    getEnterpirseEvaluate,
    getEnterpirseInfo,
    getGoodsList
}


